package com.yuanian.ecsplus.controller.event;

import com.yuanian.ecsplus.context.CommonControllerContext;
import org.springframework.context.ApplicationEvent;

public class Event<T extends CommonControllerContext> extends ApplicationEvent {

    protected T commonControllerContext;

    public Event(Object source, T commonControllerContext) {
        super(source);
        this.commonControllerContext = commonControllerContext;
    }

    public T getCommonControllerContext() {
        return commonControllerContext;
    }
}
